import React, { FC } from "react"
const RootFallback: FC = () => {
    return (
        <div>
            <h1>⚠️ 应用发生致命错误</h1>
            <p>抱歉，当前应用无法继续运行</p>
            <div>
                <button onClick={() => window.location.reload()}>刷新页面</button>
                <button onClick={() => (window.location.href = "/")}>返回首页</button>
            </div>
        </div>
    )
}

export default RootFallback
